package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.Room;
import cn.wolfcode.trip.base.mapper.RoomMapper;
import cn.wolfcode.trip.base.service.IRoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IRoomServiceImpl implements IRoomService {

    @Autowired
    private RoomMapper roomMapper ;

    //查询所有有信息
    @Override
    public List<Room> listAll() {
        return roomMapper.selectAll();
    }


}
